#ifndef VertexBuffer_h__
#define VertexBuffer_h__

#include "HardwareResource.h"

class CVertexBuffer : public CHardwareResource
{
public:
	CVertexBuffer(UINT32 dwID, ResourceHandle hHandle, EResourceType eResType, UINT32 dwVertexCount, UINT32 dwVertexSize);
	virtual ~CVertexBuffer();
	virtual void Release();

	void* Lock();
	void  UnLock();

	ID3D10Buffer* GetHandle(); 
public:
	UINT32    m_dwVertexCount;
	UINT32    m_dwVertexSize;
};
#endif // VertexBuffer_h__
